
 import React, { PureComponent } from 'react';
 import {withRouter} from "react-router-dom";
 import PageBackHeader from "@common/PageBackHeader";
 import PageSubNav from "@common/PageSubNav";
 
 @withRouter
 class EmployeePage extends PureComponent {
     render () {
         const { children } = this.props
 
         return (
             <div className="bilin-web">
                 <PageBackHeader title="员工" backUrl="/main"/>
                 <PageSubNav
                     navInfoList={[
                         {
                             path: 'employee/list',
                             name: '员工管理',
                            //  subRoutes: [
                            //     {
                            //         path: 'employee/list',
                            //         name: '员工列表',
                            //     }
                            //  ]
                         }, {
                             path: 'employee/role',
                             name: '角色权限',
                         }
                     ]}
                 />
                 <div className="bilin-web-right sub">
                     { children }
                 </div>
             </div>
         )
     }
 }
 
 export default EmployeePage